<include file="public@header"/>
<head/>
<body>
<div class="wrap ">
    <ul class="nav nav-tabs">
        <li><a href="{:url('Annex/index')}">附件管理</a></li>
        <li class="active"><a href="{:url('Annex/add')}">附件添加</a></li>
    </ul>
    <form class="form-horizontal js-ajax-form" action="{:url('Annex/add_post')}" method="post">
        <fieldset>
            <div class="control-group">
                <label class="control-label">{:lang('附件名称')}</label>
                <div class="controls">
                    <input type="text" name="annex_name" class="form-control" required="required"/>
                    <span class="form-required">*</span>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:lang('材料种类')}</label>
                <div class="controls">
                    <select name="stuff_type" class="form-control">
                        <volist name="cate_name" id="vo">
                            <option value="{$vo.id}">{$vo.cate_name}</option>
                        </volist>
                    </select>
                    <span class="form-required">*</span>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:lang('尺寸规格')}</label>
                <div class="controls">
                    <input type="text" name="size" class="form-control" required="required"/>
                    <span class="form-required">*</span>
                </div>
            </div>
            <div class="control-group">
                <label class="control-label">{:lang('价格')}</label>
                <div class="controls">
                    <input type="text" name="price" class="form-control" required/>
                    <span class="form-required">*</span>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <button type="submit" class="btn btn-primary js-ajax-submit">{:lang('ADD')}</button>
            <a class="btn btn-default" href="javascript:history.back(-1);">{:lang('BACK')}</a>
        </div>
    </form>
</div>
<script type="text/javascript" src="__STATIC__/js/admin.js?v={:time()}"></script>
</body>
</html>




